From: Claudio Cambra Date: Tue, 11 Feb 2025 03:25:28 +0000 (+0800) Subject: gui/tray: Prevent talk reply text field being too wide and breaking layout X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~71^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=349f667c528547c8175ce5bd7d3688b2a4265043;p=nextcloud-desktop.git gui/tray: Prevent talk reply text field being too wide and breaking layout Signed-off-by: Claudio Cambra --- diff --git a/src/gui/tray/ActivityItemContent.qml b/src/gui/tray/ActivityItemContent.qml index 92d4ed583..45fd6591a 100644 --- a/src/gui/tray/ActivityItemContent.qml +++ b/src/gui/tray/ActivityItemContent.qml @@ -227,13 +227,14 @@ RowLayout { Item { Layout.fillWidth: true + visible: !talkReplyMessageSent.visible } EnforcedPlainTextLabel { id: talkReplyMessageSent height: (text === "") ? 0 : implicitHeight - width: parent.width + Layout.maximumWidth: parent.width / 2 Layout.alignment: Qt.AlignTop | Qt.AlignRight text: root.activityData.messageSent